package com.wdz.main_category.service;

import com.wdz.article.entity.Article;
import com.wdz.main_category.entity.MainCategory;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 主分类表 服务类
 * </p>
 *
 * @author 吴传逞
 * @since 2020-12-19
 */
public interface IMainCategoryService extends IService<MainCategory> {
    List<Article> articles(String id,Integer pageNo,Integer pageSize);
    Integer articlesCount(String id);
    List<Article> articlesTopping(String id);
}
